Residual - Definition
Residual = Actual Minus Predicted
Below is data reflecting the amount of solar power generated (in billion kWh) in Costa Rica since 2010 along with the amount predicted by a linear regression model. To the right is the corresponding plot.